package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 患者健康记录对象 patient_health_records
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("患者健康记录-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "patient_health_records")
public class PatientHealthRecordsEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 患者主键
	 */
	@ApiModelProperty("患者主键")
	private Long patientId;

	/**
	 * 肝功能是否正常
	 */
	@ApiModelProperty("肝功能是否正常")
	private String liverNor;

	/**
	 * 肾功能是否正常
	 */
	@ApiModelProperty("肾功能是否正常")
	private String kidneyNor;

	/**
	 * 是否备孕
	 */
	@ApiModelProperty("是否备孕")
	private String pregnancyNor;

	/**
	 * 遗传病史
	 */
	@ApiModelProperty("遗传病史")
	private String geneticHistory;

	/**
	 * 家族病史
	 */
	@ApiModelProperty("家族病史")
	private String familyHistory;

	/**
	 * 既往病例
	 */
	@ApiModelProperty("既往病例")
	private String pastCases;

	/**
	 * 过敏史
	 */
	@ApiModelProperty("过敏史")
	private String allergyHistory;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@ApiModelProperty("修改时间")
	private Date updateTime;

}
